﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BugTracker.WebUX.Admin.Modules.Shared
{
    public partial class UCButtonPanel : System.Web.UI.UserControl
    {
        public Button Return  { get { return this.ReturnButton;  } }
        public Button Preview { get { return this.PreviewButton; } }
        public Button Delete  { get { return this.DeleteButton;  } }
        public Button Cancel  { get { return this.CancelButton;  } }
        public Button Submit  { get { return this.SubmitButton;  } }

        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        public void PrepareResources()
        {
            this.ReturnButton.Text = Resources.Controls.ButtonText_Return;
            this.PreviewButton.Text = Resources.Controls.ButtonText_Preview;
            this.DeleteButton.Text = Resources.Controls.ButtonText_Delete;
            this.CancelButton.Text = Resources.Controls.ButtonText_Cancel;
            this.SubmitButton.Text = Resources.Controls.ButtonText_Submit;
        }
    }
}